// packageE/appointment/components/locPorject/locPorject.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    projects: {
      type: null
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    ProjectDetails(e){
      console.log(e)
      let {id} = e.currentTarget.dataset;
      wx.navigateTo({
        url: '/packageE/appointment/ProjectDetails/ProjectDetails?project_id='+id,
      })
    },
    toSearch(){
      console.log('ddddddddddd')
      this.triggerEvent("toSearchChild")
    }
  }
})